"use client";
import UserAvatar from "@/components/custom-ui/user-avatar";
import { useSession } from "next-auth/react";

export default function Page() {
  const { data: session } = useSession();
  return (
    <div className="flex flex-col items-center gap-4">
      <UserAvatar className="h-32 w-32" defaultIconSize="h-8 w-8" />
      <div className="text-muted-foreground">Name: {session?.user.name}</div>
      <div className="text-muted-foreground">Email: {session?.user.email}</div>
    </div>
  );
}
